package com.example.thirdstage_project.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.example.thirdstage_project.entity.Project;
import com.example.thirdstage_project.entity.ProjectCategory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.thirdstage_project.ov.ProjectCategoryExpertOV;

import java.util.List;


/**
 * 项目类别表(ProjectCategory)表服务接口
 *
 * @author makejava
 * @since 2022-11-28 20:51:25
 */


public interface ProjectCategoryService extends IService<ProjectCategory> {

    List<ProjectCategoryExpertOV> select();

    /**
     * 查询四项
     */
    List<ProjectCategoryExpertOV> selectFour();

    List<ProjectCategory> selectByPid(int categoryid);

    boolean updateProject(Project project);
    boolean updatePro(ProjectCategory project);
}
